package cn.kgc.tangcco.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Date;

/**
 * @author 李昊哲
 * @Description
 * @create 2020/10/8 17:02
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class Person {
    private Integer id;
    private String name;
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    @JSONField(format = "yyyy-MM-dd")
    private Date birthday;
}
